package com.lzp.androidprojects.simple1.model;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2019/6/1.
 */
public class MainModel implements MvpModel {
    @Override
    public void getData(OnLoadComplete onLoadComplete) {
        List list = new ArrayList();
        for (int i = 0; i < 100; i++) {
            list.add("第" + i + "条数据");
        }
        if(onLoadComplete!=null){
            onLoadComplete.onLoadComplete(list);
        }
    }
}
